package com.jlcindia.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Lab02 {
	public static void main(String[] args) {
		ApplicationContext ctx= new ClassPathXmlApplicationContext("jlcindia.xml");
		System.out.println("Server is ready.");
		System.out.println("-------------------------");
		Customer cust=(Customer)ctx.getBean("cust");
		cust.show();
	}
}
